package com.yh.controller;

/**
 * @Auther: als
 * @Date: 2024/5/30 - 05 - 30 - 15:28
 * @Description: com.yh.controller
 * @version: 1.0
 */
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class DemoController {
    @RequestMapping("/first")
    @ResponseBody
    public String first(){
        return "this is my first spring boot project!";
    }
}